const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    open: true,
    host: '127.0.0.2',
    port: 9090,
    proxy: {
      '/api1': {
        target: 'http://gmall-h5-api.atguigu.cn/',
        pathRewrite: {
          '^/api1': ''
        }
      }
    }
  }
})
